<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bagent_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bagent_id" data-rule="required" data-source="bagent/index" class="form-control selectpage" name="row[bagent_id]" type="text" value="{$row.bagent_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Agent_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-agent_id" data-rule="required" data-source="agent/index" class="form-control selectpage" name="row[agent_id]" type="text" value="{$row.agent_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Merchant_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-merchant_id" data-rule="required" data-source="merchant/index" class="form-control selectpage" name="row[merchant_id]" type="text" value="{$row.merchant_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Merchant_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-merchant_name" class="form-control" name="row[merchant_name]" type="text" value="{$row.merchant_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_num" class="form-control" name="row[order_num]" type="text" value="{$row.order_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sn')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sn" class="form-control" name="row[sn]" type="text" value="{$row.sn|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Transaction_result')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-transaction_result" class="form-control" name="row[transaction_result]" type="text" value="{$row.transaction_result|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Transaction_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-transaction_type" class="form-control" name="row[transaction_type]" type="text" value="{$row.transaction_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gather_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-gather_type" class="form-control" name="row[gather_type]" type="text" value="{$row.gather_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Settle__type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-settle__type" class="form-control" name="row[settle__type]" type="text" value="{$row.settle__type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Transaction_amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-transaction_amount" min="0" class="form-control" step="0.01" name="row[transaction_amount]" type="number" value="{$row.transaction_amount|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Transaction_commission')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-transaction_commission" min="0" class="form-control" step="0.01" name="row[transaction_commission]" type="number" value="{$row.transaction_commission|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Transaction_rate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-transaction_rate" min="0" class="form-control" step="0.01" name="row[transaction_rate]" type="number" value="{$row.transaction_rate|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Card_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-card_type" class="form-control" name="row[card_type]" type="text" value="{$row.card_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Trading_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-trading_time" min="0" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[trading_time]" type="text" value="{:$row.trading_time?datetime($row.trading_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Card_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-card_num" class="form-control" name="row[card_num]" type="text" value="{$row.card_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_active')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_active" class="form-control" name="row[is_active]" type="text" value="{$row.is_active|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Active_amt')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-active_amt" class="form-control" name="row[active_amt]" type="text" value="{$row.active_amt|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_flow')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_flow" data-rule="required" class="form-control" name="row[is_flow]" type="text" value="{$row.is_flow|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Flow_amt')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-flow_amt" class="form-control" name="row[flow_amt]" type="text" value="{$row.flow_amt|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Handle_state')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-handle_state" min="0" class="form-control" name="row[handle_state]" type="number" value="{$row.handle_state|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Handle_remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-handle_remark" class="form-control " rows="5" name="row[handle_remark]" cols="50">{$row.handle_remark|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" min="0" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:$row.create_time?datetime($row.create_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-update_time" min="0" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{:$row.update_time?datetime($row.update_time):''}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
